﻿#pragma once
#ifndef CommandHandler_hpp
#define CommandHandler_hpp

#include"../Base/Network/NetworkDef.hpp"
#include"../Base/Serialize/SerialBuffer.hpp"
#include"../Base/Serialize/SerialVector.hpp"
#include"../Base/Serialize/SerialMap.hpp"
#include"Service.hpp"

namespace SC_SUN
{

    class Service;
    class MapApp;


    class CommandHandler
    {
        MapApp& mApp;
        Service& mService;

    public:

        CommandHandler(MapApp& app, Service& service);
        ~CommandHandler();

        bool Start();
        void Stop(){}

    private:

        void RegisterHandler();
    };
}

#endif